/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

/* top-level layout */

.tg-top {
  margin-left: 4px;
  margin-right: 4px;
  background-color: white;
}

.tg-splitpanel {
  border: 4px solid #adf;
}

.tg-leftside {
  width: 100%;
  height: 100%;
  margin: 0;
}

.tg-rightside {
  width: 100%;
  height: 95%;
}

/* top */

.tg-progress-bar {
  border-style: solid;
  border-width: 1px;
  height: 16px;
  margin-top: 4px;
  margin-bottom: 4px;
  background-color: white;
}

.tg-progress-bar div {
  height: 16px;
}

/* left side */

.tg-status {
  display: inline
}

.tg-status-indicator {
  padding-left: 1ex;
  width: 10ex;
}

.tg-passed {
  color: green;
}

.tg-failed {
  color: red;
}

/* right side */

.tg-contents {
  margin: 1em;
}

.tg-contents h1 {
  margin-top: 0;
  padding-top: 0;
}

.tg-contents-heading {
  text-decoration: underline;
  font-weight: bold;
  font-size: 14pt;
  margin-top: 1ex;
  margin-bottom: 2pt;
}

.tg-contents-section {
  margin-left: 2em;
  margin-top: 2pt;
  margin-bottom: 2pt;
}

.tg-section {
  margin: 1em;
}

.tg-section h2 {
  margin-top: 0;
  padding-top: 0;
}

.tg-section p, .tg-section div, .tg-rerun-link {
  margin-left: 1em;
}

.tg-section-method {
  text-decoration: underline;
  font-weight: bold;
  margin-top: 2pt;
  margin-bottom: 2pt;
  margin-left: 1em;
}

.tg-testresult {
  margin: 1em;
}

.tg-testresult-section {
  margin-top: 1em;
  margin-bottom: 1em;
}

.tg-snapshot-tabs {
  width: 100%;
}

.tg-java-object-snapshot {
  border: 1px groove gray;
  margin-left: auto;
  margin-right: auto;
  min-height: 12pt;
}

.tg-diff {
  margin-left: auto;
  margin-right: auto;
  min-height: 12pt;
  border-collapse: separate;
  border-spacing: 4px;
}

.tg-diff-selected {
  background-color: #fcc;
}

.tg-rendered-widget-hover {
  background-color: #eee;
}

.tg-tag {
  color: #008;
}

.tg-demo {
  border-style: solid;
  border-width: 1px;
  width: 100%;
  padding: 10pt;
}

.tg-caption-panel {
  width: 100%;
  padding-left: 1cm;
  padding-right: 1cm;
  margin-bottom: 8pt;
}

.tg-error {
  color: red;
}

.tg-testresult-footer {
  margin-top: 12pt;
  margin-bottom: 2pt;
}
